#ifndef UPDATE_H
#define UPDATE_H

#include <QTcpSocket>
#include <QWidget>

namespace Ui
{
    class update;
}

class update : public QWidget
{
    Q_OBJECT

public:
    explicit update(QWidget *parent = nullptr);
    ~update();
public:
    void updateDoctorInfo();

    void handleServerResponse();

private slots:
    void on_quit_clicked();

    void on_save_clicked();

private:
    Ui::update *ui;
    QTcpSocket *tcpSocket;
};

#endif // UPDATE_H
